package com.woniu.bh.common.core.domain.post;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bh_post")
public class Post implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "post_id", type = IdType.AUTO)
    private Integer postId;

    /**
     * 发帖时间
     */
    private Long postCreateTime;

    /**
     * 帖子标题
     */
    private String postTitle;

    /**
     * 帖子内容
     */
    private String postContent;

    /**
     * 发起帖子用户id
     */
    private Integer postUserId;

    /**
     * 发起帖子用户类型 1用户 2美容师 3美容馆 4平台
     */
    private Integer postUserType;

    /**
     * 帖子状态 1为正常 2为隐藏 3为伪删除
     */
    private Integer postStatus;

    /**
     * 帖子类型 1为一般 2为招聘 3为精品
     */
    private Integer postType;


}
